Skip to main content

Google Signing Keys

Overview

Google .aab files are signed with an upload key and signed by Google's app signing process after upload and before distribution.

A new upload keystore and upload key are generated in Android Studio. Those keys are then stored as base64 strings within the CI and decoded during the build process.

An additional step of creating a Google Play service worker in order to upload with Fastlane tooling. This can only be done by the account holder. You can find that information for the VA account here

This process rarely needs to happen. A service account can live the life of the app if the credentials are not shared. The same is true for the upload certificates.

Location in the CI

The Android certificates are stored in GitHub Actions as base64 strings that are decoded by the CI when they are needed.

ENV Constants for the keys

Key NameENV StringDestination ENV StringDecoded LocationCI Command
Android KeystoreGOOGLE_KSGOOGLE_KS_PATH~/project/VAMobile/android/keys/vamobiledecode_android_keys
Google Service AccountGOOGLE_SA_JSONGOOGLE_SA_PATH~/project/VAMobile/android/keys/service-account.jsondecode_android_keys

More Documentation